package com.sand.service;

import com.sand.util.PageModel;

import java.util.HashMap;
import java.util.List;

public interface IAppoinService {
    HashMap<String, Object> queryAppoinById(int id);
    List<HashMap<String, Object>> queryAppoinByUserInfo(int id);
    PageModel<HashMap<String, Object>> queryAppoinLimit(int limit, int page, String condition);

    boolean addAppoin(String data);
    boolean delAppoin(int rid,String condition,int isHouse);
    boolean updateAppoin(int rid);

    //房东房屋预约记录
    PageModel<HashMap<String, Object>> queryAppointByUserIdLimit(int limit, int page,String condition);
}
